﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Styles/SplitterPanel.css")" rel="stylesheet" type="text/css" />
</head>
<body>

    <div id="splitPanel" class="splitter">
        <div class="resizableArea">
            <div class="leftPane">
                @RenderSection("Contents")  
            </div>
            <div class="divider"><div></div></div>
            <div class="rightPane"><div id="resizeMsg"></div>
                @RenderBody()                
            </div>            
        </div>
    </div>
    
    <script src="@Url.Content("~/Scripts/MicrosoftAjaxCore.debug.js")" type="text/javascript"></script>    
    <script src="@Url.Content("~/Scripts/MicrosoftAjaxComponentModel.debug.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/SplitterBehavior.debug.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/EventTests.js")" type="text/javascript"></script>

    <script type="text/javascript">
        var _resizeMsgDiv = $get("resizeMsg");

        Sys.onReady(function () {
            Sys.query("#splitPanel").splitter(300);
        });
    </script>
</body>
</html>
